package com.work.dao;

import com.work.bean.Notice;

import java.util.List;

public interface NoticeDao {
    List<Notice> queryNotice();
    Notice queryNoticeById(Integer id);
    int saveNotice(Notice notice);
    int updateNotice(Notice notice);
    int deleteNotice(Integer id);
    public  Integer queryForPageTotalCount();
    public List<Notice> queryForPageItems(int begin, int pageSize);
    public Integer queryForPageTotalCountByPrice(int min,int max);
    public List<Notice> queryForPageItemsByPrice(int begin, int pageSize, int min, int max);
}
